import Vue from 'vue'
import App from '@/App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from '@/router/index.js'
import store from '@/store/index.js'

Vue.use(ElementUI)

const vm = new Vue({
  el: '#app',
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  render: (h) => h(App)
})
export default vm